package shop.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import shop.common.entity.User;

public interface UserService extends IService<User> {

    String login(String username, String password);

    boolean exist(String username);

    Page<User> list(User user, Integer pageNum, Integer pageSize);

    User details(String id);

    User getByUsername(String username);

}
